package com.flower.api.enu;

/**
 * @author: 姚雁飞
 * @desc: 状态码
 * @date: 2019年9月2日 下午3:31:38
 * @since JDK1.8
 * @see com.dingliang.agent.enu
 */
public enum StatausEnum {

	SUCCESS(0, "成功"),
	Error(-1, "失败");

	private int code;
	private String msg;

	private StatausEnum(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
